export default path => {
    return (target, methodName, descriptor) => {
        if (!target.reqList) {
            target.reqList = {}
        }
        // console.log("target.prototype====>", target.__proto__)
        if (descriptor.value.constructor !== Array) {
            descriptor.value = [].concat(descriptor.value)
        }
        target.reqList[`post:${methodName}:${path}`] = descriptor.value

    }
}
